<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="cms" uri="http://cms.gxsoft.com/tags-cms"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>监察机构管理</title>
<link href="<%=request.getContextPath()%>/css/reset.css" rel="stylesheet" type="text/css"/>
<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<form method="post">
<table width="600" align="center" class="bordernone">
<tr><td class="bg_blue" width="60">机构名称：</td>
<td><input type="text" value="${param.supOrganName}" name="supOrganName"/>
<td class="bg_blue" width="60">行政级别：</td>
<td><cms:selectAll dataType="007" name="supOrganAdministrativeLevel" firstTitle="请选择.."  key="${param.supOrganAdministrativeLevel}"></cms:selectAll></td>
</tr>
<tr><td class="nohover" colspan="4" align="center"><input class="buttonsearch" type="submit" value="查询" name=""/>&nbsp;    <input class="buttonreset" type="reset" value="重置" name=""/></td></tr>
</table>
</form>
<table width="100%" border="1">
<tr>
    <td class="nohover" colspan=6"><input class="buttonadd" type="button" value="增加" onClick="javascript:window.location.href='SuperviseOrgan.do?method=toAdd'"></td>
 </tr>
  <tr>
    <th width="8%">机构编码</th>
	<th width="16%">机构名称</th>
    <th width="16%">地址</th>
    <th width="10%">电话</th>
    <th width="30%">操作</th>
  </tr>
  <c:forEach items="${list}" var="prod" varStatus="lineInfo">
  <tr <c:if test="${lineInfo.count % 2 == 0}">class="blue"</c:if>>
    <td>${prod.supOrganCode }</td>
    <td><a href="SuperviseOrgan.do?method=detail&sid=${prod.supOrganId}">${prod.supOrganName }</a><br></td>
    <td>${prod.supOrganAddress }</td>
	<td>${prod.supOrganTelNum }</td>
    <td>
	    <input class="buttonmodify" type="button" value="修改" name="" onClick="javascript:window.location.href='<%=request.getContextPath()%>/SuperviseOrgan.do?method=toUpdate&sid=${prod.supOrganId}&page=${intPage}'"/>
	    <input class="buttondelete" type="button" onClick="javascript:if(confirm('该操作将删除该数据及以下的所有数据，确定要删除吗？')){window.location.href='<%=request.getContextPath()%>/SuperviseOrgan.do?method=delete&sid=${prod.supOrganId}&page=${intPage}'}" value="删除" />
	    <input class="buttonsharepower" type="button" value="考核打分" name="" onClick="javascript:window.location.href='<%=request.getContextPath()%>/SuperviseOrgan.do?method=toCheckScore&sid=${prod.supOrganId}'"/>
    </td>
  </tr>
  </c:forEach>
  <tr>
    <td class="nohover" colspan="12" align="center">&nbsp;
    <form name="pageForm" method="post" action="<%=request.getContextPath()%>/SuperviseOrgan.do?method=list">
    <input type="hidden" name="supOrganName" value="${param.supOrganName}"/>
    <input type="hidden" name="supOrganType" value="${param.supOrganType}"/>
    <c:out value="${foot}" escapeXml="false"/>
    </form>
    </td>
  </tr>
</table>
</body>
</html>
